package com.kmust.dream.wanderingdream.donation.service.impl;

import com.kmust.dream.wanderingdream.comm.utils.PageUtils;
import com.kmust.dream.wanderingdream.comm.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.kmust.dream.wanderingdream.donation.dao.RecipientUserUnionDao;
import com.kmust.dream.wanderingdream.donation.entity.RecipientUserUnionEntity;
import com.kmust.dream.wanderingdream.donation.service.RecipientUserUnionService;


@Service("recipientUserUnionService")
public class RecipientUserUnionServiceImpl extends ServiceImpl<RecipientUserUnionDao, RecipientUserUnionEntity> implements RecipientUserUnionService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RecipientUserUnionEntity> page = this.page(
                new Query<RecipientUserUnionEntity>().getPage(params),
                new QueryWrapper<RecipientUserUnionEntity>()
        );

        return new PageUtils(page);
    }



}